solving recurrence relations using generating functions

join shbcf.ru